const requireContext = require.context('brace/theme', true, /\.js$/);
const themes = new Set();

requireContext.keys().forEach(fileName => {
  const themeName = fileName.replace(/(\.\/|\.js|brace\/theme\/)/g, '');
  themes.add(themeName)
});

export default [...themes];